/*****************************************************************
File name   : api_lcd.h
Author      : liukaihua 
Version     : Ver1.0.0
Date        : 2022-01-20
Description : 关于lcd的屏显
Others      : 
History     : 
    1. Date:
       Author: ID:
       Modification:
    2. ...
*****************************************************************/

#ifndef __API_LCD_H_
#define __API_LCD_H_

#include "stdint.h"

/****************************************************************************/ 

/**************20220820 设备设置温度下调后低于当前温度一定值的置位标志*********************/
typedef struct
{
//    uint8_t ehp;
//    uint8_t ft;
	uint8_t blood1;
	uint8_t blood2;
    uint8_t InfusePress1;
    uint8_t InfusePress2;
    uint8_t ArmBlanket1; 
    uint8_t ArmBlanket2; 
    uint8_t UpperBlanket;
    uint8_t LowBlanket;  
    uint8_t FT1;   	
    uint8_t FT2;
} Down_tempset_T;

#define EHP_DOWN_DIMEN    	 10//30//设置温度下调至低于当前温度值3度
#define FT_DOWN_DIMEN    	 	 10//30//设置温度下调至低于当前温度值3度
#define BLOOD1_DOWN_DIMEN    10//30//设置温度下调至低于当前温度值3度
#define BLOOD2_DOWN_DIMEN    10//30//设置温度下调至低于当前温度值3度


void Lcd_RcvProc(uint8_t *buf);// 
//void LCD_mode_con(uint16_t mode, uint16_t sta);
void LCD_sys_con(void);
void LCD_ehp_con(void);
//void LCD_blood_con(void);
void LCD_blood1_con(void);
void LCD_blood2_con(void);
void LCD_hp_con(void);
void LCD_ft_con(void);
void Other_mode_con(uint16_t mode);
void InterComm_LCD_PackData_cfg(uint8_t head_len, uint8_t parm_num);
void InterComm_LCD_PackData_temp(uint8_t head_len, uint8_t parm_num);
void LCD_mode_dis_send(uint16_t mode);
void InterComm_LCD_PackData(uint8_t head_len, uint16_t reg_addr, uint8_t *param);//, uint16_t param_len);
void InterComm_LCD_PackData_alarm_ison(uint8_t head_len, uint8_t parm_num);
void InterComm_LCD_PackData_Phy_thred(uint8_t head_len, uint8_t parm_num);
void InterComm_LCD_PackData_easycon(uint8_t head_len, uint8_t parm_num);
void LCD_send_param_init(void);
void InterComm_LCD_PackData_group(uint8_t head_len, uint8_t parm_num, uint16_t *reg_addr, uint16_t *param);
void Other_sys_con(void);
void LCD_ArmBlanket1_con(void);
void LCD_ArmBlanket2_con(void);
void LCD_UpperBlanket_con(void);
void LCD_LowBlanket_con(void);
void LCD_FT1_con(void);
void LCD_FT2_con(void);
void LCD_InfusePress1_con(void);
void LCD_InfusePress2_con(void);
void islive_req_device(void);


#endif
/* [] END OF FILE */
